package com.xw.childhealth.dao;

import com.xw.childhealth.entity.Icd10Code;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 2019-11-21 09:27
 * @Version: 1.0
 */
public interface Icd10CodeDao extends JpaRepository<Icd10Code, Integer> {
    List<Icd10Code> findByParentIdEquals(Integer id);

    Icd10Code findByIdEquals(Integer id);
}
